{% extends 'common/panel.html' %}
{% load currency %}
{% block title %}{{array.name}} Potential Impact Analysis{% endblock title %}
{% block panel %}
<h3>Commercial Passenger Fishing Vessel Potential Impact Analysis Report</h3>
<div class='freetext'>
<br>

    <table  style='width:450px' class='impact_analysis_container'>
        <thead>
            <tr>
                <th></th>
                <th><b>Potential Gross Economic Impact</b> </th>
                <th></th>
                <th><b>Potential Net Economic Impact</b> </th>
            </tr>
        </thead>
        <tbody>
        {% for result in array_results %}
            <tr class="{% cycle '' 'grey' %}">
                <td style="width: 165px;" class="species_name">{{ result.port }}</td>
                {% if result.percGEI == '---' %}
                    <td>---</td>
                {% else %}
                    <td>{{ result.percGEI|floatformat:'1' }}&nbsp;<small>%</small></td>
                {% endif %}
                <td></td>
                {% if result.percNEI == '---' %}
                    <td>---</td>
                {% else %}
                    <td>{{ result.percNEI|floatformat:'1' }}&nbsp;<small>%</small></td>
                {% endif %}
            </tr>
        {% endfor %}
        </tbody>
    </table>
    
</div>
<br>
<div style='font-size: small'><a target='_blank' href='{% url array_printable_analysis array.id "cpfv" %}'>View Printable Report</a></div>
<br>
{% endblock panel %}
